/**
 * Copyright (c) Huawei Technologies Co., Ltd. 1987-2021. All rights reserved.
*/

package com.gitee.fufu669.common;

/** @author wangfupeng */
/**
 * TODO
*/
public class CacheKeyCommon {

    /**
     * TODO
    */
    public static final int PASSWORDUTIL_REDIS_ENCRYPTKEY_EXPIRE_DEFAULT_TIME_IN_SECONDS = 3666;

    /**
     * TODO
    */
    public static final int REDIS_KEY_EXCEED_MAX_VALUE = 128;

    /**
     * TODO
    */
    public static final String IP_UNKNOWN = "unknown";

    /**
     * TODO
    */
    public static final String IP_127_0_0_1 = "127.0.0.1";

    /**
     * TODO
    */
    public static final String IP_0_0_0_0_0_0_0_1 = "0:0:0:0:0:0:0:1";

    /**
     * TODO
    */
    public static final int IP_DEFAULT_LENGTH = 15;

    /**
     * TODO
    */
    public static final int CACHESERVICE_REDIS_DEFAULT_EXPIRED_SECONDS = 666666;

    /**
     * TODO
    */
    public static final int CACHESERVICE_REDIS_LOCK_DEFAULT_EXPIRED_SECONDS = 6;

    /**
     * TODO
    */
    public static final int CACHEFETCHLATERAOP_LOCK_EXPIRE_SECONDS = 60;

    /**
     * TODO
    */
    public static final int CACHESERVICE_REDIS_DEFAULT_EXPIRED_SECONDS_25_HOURS = 86666;

    /**
     * TODO
    */
    public static final int CACHESERVICE_REDIS_DEFAULT_EXPIRED_SECONDS_1_WEEK = 666666;

    /**
     * TODO
    */
    public static final int CACHEFETCHLATERAOP_REFRESH_EXPIRE_SECONDS = -1;

    /**
     * TODO
    */
    public static final int CACHEMOCKFETCHLATER_TYPE_DEFAULT = 3;

    /**
     * TODO
    */
    public static final String LOCK = "lock:";

    /**
     * TODO
    */
    public static final String CACHESERVICE_KEY_SEPERATOR = ":";

    /**
     * TODO
    */
    public static final int DEFAULT_YES_VALUE = 1;

    /**
     * TODO
    */
    public static final int DEFAULT_NO_VALUE = 0;

    /**
     * TODO
    */
    public static final String TOKEN = "token:";

    /**
     * TODO
    */
    public static final String PASSWORD = "password:";

    /**
     * TODO
    */
    public static final String CHECKVISITFREQUENCY_LIMIT_VISIT_FORMULA = "1, 1";

    /**
     * TODO
    */
    public static final int MOCKEXECUTELATER_DEFAULT_SECONDS_BETWEEN_EXECUTIONS = -1;

    /**
     * TODO
    */
    public static final String REDIS_KEY_CHECKVISITFREQUENCY = "checkvisitfrequency:";

}
